import VueI18n from 'vue-i18n'
import Vue from 'vue'
import messages from './i18n.js'
Vue.use(VueI18n)
let locale = 'zh-cn'
if (location.href.includes('en')) {
  locale = 'en'
}

export default new VueI18n({
  locale: locale,
  messages
})
